package com.my.vote.repository.param;

import java.util.List;

import com.my.vote.entity.VoteStatus;

/**
 * 投票主题
 * 
 * @author chenliang
 *
 */
public class VoteSubjectSVO {

	private String id;

	/** 主题标题 */
	private String title;

	/** 主题描述说明 */
	private String description;

	/** 状态 */
	private VoteStatus status;

	/** 截止日期 */
	private String endTime;

	/** 已投人数 */
	private int voteCount;

	/** 删除标记 */
	private boolean delFlag;

	/** 发布人 */
	private String creatorId;

	/** 问题 */
	private List<VoteQuestionSVO> questions;

	/** 投票范围 */
	private List<VoteAreaSVO> areas;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public VoteStatus getStatus() {
		return status;
	}

	public void setStatus(VoteStatus status) {
		this.status = status;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public int getVoteCount() {
		return voteCount;
	}

	public void setVoteCount(int voteCount) {
		this.voteCount = voteCount;
	}

	public boolean isDelFlag() {
		return delFlag;
	}

	public void setDelFlag(boolean delFlag) {
		this.delFlag = delFlag;
	}

	public String getCreatorId() {
		return creatorId;
	}

	public void setCreatorId(String creatorId) {
		this.creatorId = creatorId;
	}

	public List<VoteQuestionSVO> getQuestions() {
		return questions;
	}

	public void setQuestions(List<VoteQuestionSVO> questions) {
		this.questions = questions;
	}

	public List<VoteAreaSVO> getAreas() {
		return areas;
	}

	public void setAreas(List<VoteAreaSVO> areas) {
		this.areas = areas;
	}

}
